﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuantitativeInvestment.Bean
{
    class TradingStock
    {
          public   string code;
          public string name;
          public   string buyDate;
          public   string sellDate;
          public   double buyPrice;
          public   double sellPrice;
          public double volume;
          public double amount;
          public double increase;
          //用来排序的数值
          public double comparedValue;
          public double  excessIncrease;
          
          //个股的特征属性
          public Dictionary<string, Parameter> characterList;
          public TradingStock(string code,string name)
          {
              this.code = code;
              this.name = name;
          }
          public double getIncrease()
          {
              this.increase= (sellPrice - buyPrice) / buyPrice;
              return this.increase;
          }

          
    }
}
